package com.zmzncs.lmtc.module.customer.pojo.customer;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.zmzncs.lmtc.common.pojo.enums.SexEnum;
import com.zmzncs.lmtc.common.pojo.enums.WhetherEnum;
import com.zmzncs.lmtc.common.util.EnumUtil;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 客户-客户信息
 * </p>
 *
 * @author 任建波
 * @since 2020-08-26
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("cust_info")
@ApiModel(value="Info对象", description="客户-客户信息")
public class Customer implements Serializable {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "id")
    private Long id;

    @ApiModelProperty(value = "openid")
    private String openid;

    @ApiModelProperty(value = "unionid")
    private String unionid;

    @ApiModelProperty(value = "session_key")
    private String sessionKey;

    @ApiModelProperty(value = "昵称")
    private String nickname;

    @ApiModelProperty(value = "用户头像")
    private String avatar;

    @ApiModelProperty(value = "手机号")
    private String mobilePhone;

    @ApiModelProperty(value = "UNKNOWN：未知， MEN：男，WOMEN：女")
    private Integer sex;

    @ApiModelProperty(value = "是否是会员（1：是, 0：否）")
    private Integer isVip;

    @ApiModelProperty(value = "是否上传到泊链（1：是, 0：否）")
    private Integer isToBolian;

    @ApiModelProperty(value = "生日")
    private Date birthday;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "更新时间")
    private Date updateTime;

}
